package com.icinfo.cloud.provider.punish.evidence.controller;

import com.icinfo.cloud.provider.punish.evidence.service.EvidenceInventoryService;
import com.icinfo.cloud.provider.punish.evidence.vo.EvidenceDetailInfoVo;
import com.icinfo.cloud.provider.punish.ucase.casemain.vo.CaseDocumentCatalogChainInfoVo;
import com.icinfo.framework.common.web.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 证据库 对接 controller
 *
 * @author Administrator
 */
@RestController
@RequestMapping("/app/evidenceInventoryNewContact")
public class EvidenceContactController {

    @Resource
    private EvidenceInventoryService evidenceInventoryService;

    /**
     * 描述：获取证据列表
     *
     * @param caseId 用例id
     * @return {@link List<Map> }
     * @author shishengyao
     * @date 2023/01/11
     */
    @GetMapping("/getEvidenceDetailList")
    public Result<List<CaseDocumentCatalogChainInfoVo> > getEvidenceDetailList(@RequestParam String caseId) {
      //  List<CaseDocumentCatalogChainInfoVo> evidenceDetailList = evidenceInventoryService.getEvidenceChainInfo(caseId);
        // todo 证据的地址前端目前访问不了，先返回空列表
        return Result.success("获取成功", null);

    }

}
